package cn.hfjava.kz.service;

import cn.dev33.satoken.util.SaResult;
import cn.hfjava.kz.entity.dto.ForgetPasswordDto;
import cn.hfjava.kz.entity.dto.LoginUserDTO;
import cn.hfjava.kz.entity.dto.UpdatePasswordDTO;
import cn.hfjava.kz.entity.dto.UserQueryDTO;
import cn.hfjava.kz.entity.po.User;
import cn.hfjava.kz.entity.vo.PageVO;
import cn.hfjava.kz.entity.vo.UserVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.domain.Page;

/**
* @author lds
* @description 针对表【users(用户表)】的数据库操作Service
* @createDate 2024-07-09 11:22:20
*/
public interface UserService extends IService<User> {


    PageVO<UserVO> findByPage(UserQueryDTO userQueryDTO);

    SaResult forgetPassword(ForgetPasswordDto forgetPasswordDto);

    SaResult verifyCode(ForgetPasswordDto forgetPasswordDto);

    SaResult updatePassword(UpdatePasswordDTO updatePasswordDTO);


}
